#include <iostream>

namespace A {
    class Person {
    private:
        char *name;
        int age;
        char *work;

    public:
        Person();
        Person(char *name, int age);
        Person(const Person &p);
        void setName(char *name);

        void setAge(int age);

        void setWork(char *work);

        void printInfo(void) const;

        Person& operator=(const Person& p);
    };

    void printVersion(void);
}